﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
//using Logger = Garlic.CC.Utility.Logger;
using Garlic.DAL;
using Garlic.Infrustructure;
using DAL.BusinessDeal;


namespace Garlic.BLL.BusinessDeal
{
    public  class StSpProcessVoyageManager
    {
        private StSpProcessVoyageDAL DAL = new StSpProcessVoyageDAL();

        public string InsertUpdateToTable(int P_Operation_Code, int P_VOY_ID, int P_User_ID,
            string P_VOY_IEFG, int P_VOY_SLN_ID, int P_SCD_ID, int P_VOY_FLT_ID, string P_VOY_VOYAGE,
            string P_VOY_INTRADE)
        {
            try
            {
                return DAL.InsertUpdateProcessVoyage( P_Operation_Code,  P_VOY_ID,  P_User_ID,P_VOY_IEFG,  P_VOY_SLN_ID,
                       P_SCD_ID,  P_VOY_FLT_ID,  P_VOY_VOYAGE,P_VOY_INTRADE);
            }
            catch (Exception e)
            {
                Logger.Instance.Error(this, "写入数据出错", e);
                throw;
            }
        }

    }
}
